
const router = [
    { path: "/", 
      component: '@/layouts/index',
      redirect: '/index',
      title: 'Index',
      layout: false,
    },
    { path: '/', component: '', title: 'ThreeJs', routes: [
      { path: '/index', component: 'index', title: 'ThreeJs初体验'  },
      { path: '/bufferGeometry', component: 'bufferGeometry', title: '点-索引-面/基础几何体'  },
      { path: '/basicMesh', component: 'basicMesh', title: '纹理、贴图'  },
      { path: '/fogMesh', component: 'fogMesh', title: '雾'  },
      { path: '/model', component: 'model', title: '加载模型'  },
      { path: '/rayCaster', component: 'rayCaster', title: '射线'  },
      { path: '/tween', component: 'tween', title: '补间动画'  },
      { path: '/uv', component: 'uv', title: 'UV映射'  },
      { path: '/light', component: 'light', title: '灯光、阴影'  },
      { path: '/test', component: 'test', title: '练习物理材质'  },
      { path: '/testIsland', component: 'testIsland', title: '练习phong透明材质'  },
      { path: '/testPc', component: 'testPc', title: '练习可视化官网'  },
    ]},
    // { path: '/bufferGeometry', component: 'bufferGeometry', title: 'Three-顶点-索引-面'  },
    { path: '/mindmap', component: 'mindmap', title: 'MindMap'  },
    { path: "/list", component: "list", title: 'List' }, 
    { path: "/login", component: "login", layout: false },
]
export default router;